package com.sqlcheck.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "批量更新规则状态请求")
public class BatchUpdateRuleStatusRequest {

    @NotEmpty(message = "规则ID列表不能为空")
    @Schema(description = "规则ID列表", example = "[1, 2, 3]", required = true)
    private List<Long> ruleIds;

    @NotNull(message = "状态不能为空")
    @Schema(description = "是否启用", example = "true", required = true)
    private Boolean isActive;
}